package com.lhj.xxsc.auth.feign;

import com.xxsc.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 罗惠江
 * @version 1.0
 * @email 1511619294@qq.com
 * @date 2020/12/24 16:29
 */
@FeignClient("xxsc-third-party")
public interface ThirdPartFeignService {

	@GetMapping("/sms/sendcode")
	public R sendCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
